<template>
  <GlobalFooter class="i-copyright" :links="links" :copyright="copyright" />
</template>
<script>
export default {
  name: "i-copyright",
  props: {
    links: {
      type: Array,
      default: () => {
        return [
          {
            title: "官网",
            key: "官网",
            href: "http://www.dodoke.com/",
            blankTarget: true
          },
          {
            title: "简介",
            key: "简介",
            href: "http://www.dodoke.com/page/guanyu",
            blankTarget: true
          },
          {
            title: "Java",
            key: "Java",
            href: "http://www.dodoke.com/page/java",
            blankTarget: true
          }
        ];
      }
    },
    copyright: {
      type: String,
      default: "Copyright © 2020 渡课 Java 128 班 Hello,world"
    }
  },
  data() {
    return {};
  }
};
</script>
<style lang="less">
.i-copyright {
  flex: 0 0 auto;
  &-hidden {
    display: none;
  }
}
</style>
